$OpenBSD: patch-x86-mingw32-build_sh_conf,v 1.4 2017/06/04 22:25:31 espie Exp $
Index: x86-mingw32-build.sh.conf
--- x86-mingw32-build.sh.conf.orig
+++ x86-mingw32-build.sh.conf
@@ -35,17 +35,17 @@
 #    the `x86-mingw32-build.sh.hosts' file for the `mirror' field
 #    in the following URL, to establish a default download host.
 #
-     assume DOWNLOAD_HOST     http://prdownloads.sourceforge.net/mingw
-     assume DOWNLOAD_OPTIONS  '?download&use_mirror=mirror'
+#     assume DOWNLOAD_HOST     http://prdownloads.sourceforge.net/mingw
+#     assume DOWNLOAD_OPTIONS  '?download&use_mirror=mirror'
 #
 # 3) Directories to use for temporary working space, package storage,
 #    and ultimate compiler installation.  You should adjust these to
 #    match your own host configuration; note that you MUST have WRITE
 #    permission for each directory specified.
 #
-     assume WORKING_DIR                   $HOME/tmp/mingw-3.4.5
-     assume PACKAGE_DIR                   $HOME/packages/mingw-3.4.5
-     assume INSTALL_DIR                   $HOME/mingw32
+     assume WORKING_DIR                   ${MINGW32_TMP}
+     assume PACKAGE_DIR                   ${FULLDISTDIR}
+     assume INSTALL_DIR                   ${MINGW32_OUT}
 #
 # 4) Package versions, from which the compiler will be built.
 #
@@ -93,11 +93,11 @@
 #    the corresponding package is available in the PACKAGE_DIR, or
 #    if it is selected for download.
 #
-     option GCC_LANGUAGE_OPTIONS          ada
+#    option GCC_LANGUAGE_OPTIONS          ada
      option GCC_LANGUAGE_OPTIONS          c++
-     option GCC_LANGUAGE_OPTIONS          f77
-     option GCC_LANGUAGE_OPTIONS          java
-     option GCC_LANGUAGE_OPTIONS          objc
+#    option GCC_LANGUAGE_OPTIONS          f77
+#    option GCC_LANGUAGE_OPTIONS          java
+#    option GCC_LANGUAGE_OPTIONS          objc
 #
 # 8) User preferences for configuration options.  These have been
 #    preconfigured to match the setup of the prebuilt compiler suite,
@@ -129,13 +129,13 @@
      option GCC_BASE_OPTIONS            --enable-threads=win32
      option GCC_BASE_OPTIONS            --disable-win32-registry
 #
-     option GCC_JAVA_BASE_OPTIONS       --enable-libgcj
-     option GCC_JAVA_BASE_OPTIONS       --disable-libgcj-debug
-     option GCC_JAVA_BASE_OPTIONS       --disable-java-awt
-     option GCC_JAVA_BASE_OPTIONS       --enable-java-gc=boehm
-     option GCC_JAVA_BASE_OPTIONS       --enable-interpreter
-     option GCC_JAVA_BASE_OPTIONS       --enable-hash-synchronization
-     option GCC_JAVA_BASE_OPTIONS       --without-x
+#    option GCC_JAVA_BASE_OPTIONS       --enable-libgcj
+#    option GCC_JAVA_BASE_OPTIONS       --disable-libgcj-debug
+#    option GCC_JAVA_BASE_OPTIONS       --disable-java-awt
+#    option GCC_JAVA_BASE_OPTIONS       --enable-java-gc=boehm
+#    option GCC_JAVA_BASE_OPTIONS       --enable-interpreter
+#    option GCC_JAVA_BASE_OPTIONS       --enable-hash-synchronization
+#    option GCC_JAVA_BASE_OPTIONS       --without-x
 #
      option CFLAGS_FOR_BINUTILS          -O2
      option CFLAGS_FOR_BINUTILS          -fno-exceptions
